package com.achievo.reportserver.config;

import java.util.ArrayList;
import java.util.List;


/**
 * 
 * Report Server
 * write at Jan 21, 2010
 * @author <a href="mailto:chinaoryx@gmail.com">Hyman.Zhang (Zhang Haipeng)</a>
 * @version 1.0
 * 
 *
 */
public class ReportRoot {
	private List<ReportDef> reportList = new ArrayList<ReportDef>();
	
	
	public void addReport(ReportDef report){
		reportList.add(report);
	}

	public List<ReportDef> getReportList() {
		return reportList;
	}

	public void setReportList(List<ReportDef> reportList) {
		this.reportList = reportList;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("ReportRoot [");
		if (reportList != null) {
			builder.append("reportList=");
			builder.append(reportList);
		}
		builder.append("]");
		return builder.toString();
	}
	
	

}
